package com.ychs.lawyer.service.impl;

import com.ychs.lawyer.bean.Seal;
import com.ychs.lawyer.mapper.SealMapper;
import com.ychs.lawyer.service.SealService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: clh
 * @Date: 2024/08/05/10:45
 * @Description:
 */
@Service
public class SealServiceImpl implements SealService {
    @Autowired
    private SealMapper sealMapper;
    @Override
    public List<Seal> getSealsByCondition(Seal seal) {
        return sealMapper.getSealsByCondition(seal);
    }

    @Override
    public int editSeal(Seal seal) {
        return sealMapper.editSeal(seal);
    }

    @Override
    public int addSeal(Seal seal) {
        return sealMapper.addSeal(seal);
    }
}
